package com.pactera.demo.base.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author chang.zhou
 * @version 1.0
 * @date Created in 2020/2/27 20:37
 */
@Data
public class RoleBindDto {

    @NotEmpty(message = "角色ID为空")
    private String roleId;
    @Size(min = 1,message = "资源ID为空")
    private List<String> resourceIds;
}
